Release 10.1A: OpenEdge Development:
Java Open Clients
Building an Open Client application that uses a Java proxy
![]()
To build a client application that uses a Java proxy:
- Set up the Java client development environment.
The OpenEdge ToolKit installation includes the JavaSoft JDK; however, it does not set up the system for general use of the JDK. If you are developing your client application on the same machine where you installed OpenEdge ToolKit and you want to use the JDK for your client application development, see the JavaSoft documentation for information on setting up the environment to use this JDK.
- To build the client application on a machine other than the proxy generation machine, you must:
- Copy the proxy
.classfiles to a directory that mirrors the package hierarchy specified on the Java tab of the Generate dialog box in ProxyGen during the generation of the proxy. The package name implies a directory structure that you must maintain when you copy the proxy. You also can put the class files into a.zipor.jarfile, as with any other Java classes.Note: ProxyGen provides the proxy- Copy the proxy
.javafiles to any directory on the system, typically together with the corresponding.classfiles..javafiles only for documentation. Do not attempt to modify and rebuild your proxy from these files.- Select and copy the Java Open Client Runtime package to any directory on the system. For information on selecting a Java Open Client Runtime package, see the "Selecting an Open Client Runtime package" section.
- Update the Java
CLASSPATHsetting for the client application’s development environment to include the following:- Write, compile, and execute the client application. (This is the focus of the remainder of this book.)
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |